<?php
/**
 * main.php
 *
 * @author Hua Yang <htmlcook@gmail.com>
 * @since 2.0
 */

return array(
	'basePath' => dirname(__FILE__) . '/../',
	'version' => '1.0.0',
	'import' => array(
		'common.extensions.timepicker.YDateTimePicker',
		'common.extensions.wpMedia.WpMedia',
	),
	'aliases' => array(
		'bootstrap' => 'common.extensions.yiibooster',
	),
	'components' => array(
		'user' => array(
			'behaviors' => array(
				'onAfterLogin' => array(
					'class' => 'YUserLoginBehavior',
					'userModel' => 'User',
				),
			),
		),
		'bootstrap' => array(
			'class' => 'bootstrap.components.Bootstrap',
			'fontAwesomeCss' => true,
		),
		'crystal' => array(
			'class' => 'YCrystalComponent',
		),
		'authManager' => array(
			'class' => 'CDbAuthManager',
			'itemTable' => '{{authitem}}',
			'assignmentTable' => '{{authassignment}}',
			'itemChildTable' => '{{authitemchild}}',
		),
	),
	'params' => array(
		'enableBackendForgetPassword' => false,
	)
);